package com.stormrage.edu.dao.edu;

import java.util.List;
import java.util.Map;

import com.stormrage.entity.edu.EduVideo;
import com.stormrage.entity.edu.rep.EduVideoRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface EduVideoDao {

	public Integer create(EduVideo arg0) throws StormrageTechException;

	public void update(EduVideo arg0) throws StormrageTechException;

	public void updateVideo(EduVideo arg0) throws StormrageTechException;

	public void updateThumb(EduVideo arg0) throws StormrageTechException;

	public void delete(Map<String, Object> map) throws StormrageTechException;

	public Integer queryCount(Map<String, Object> map) throws StormrageTechException;

	public EduVideo queryById(Map<String, Object> map) throws StormrageTechException;

	public List<EduVideo> queryList() throws StormrageTechException;

	public List<EduVideo> queryList(Map<String, Object> map) throws StormrageTechException;

	public List<EduVideo> queryListById(Map<String, Object> map) throws StormrageTechException;

	public List<EduVideo> queryListByMajorId(Map<String, Object> map) throws StormrageTechException;

	public List<EduVideoRep> queryRepListById(Map<String, Object> map) throws StormrageTechException;

}
